# project name and programming language
project('debins', 'vala', 'c', version: '1.0.0')

subdir('data')
subdir('ui')

# Create a new executable, list the files we want to compile, list the dependencies we need, and install
executable(
    meson.project_name(),

    'src/PackageManager.vala',
    'src/MainWindow.vala',
    'src/Main.vala',

    uiresources,
    resources,
    dependencies: [
        dependency('gtk+-3.0'),
        dependency('gio-2.0'),
    ],
    install: true
)

#Install our .desktop file so the Applications Menu will see it
install_data(
    join_paths('data', meson.project_name() + '.desktop'),
    install_dir: join_paths(get_option('datadir'), 'applications')
)